<?php
/*
 * 买车助手
 * @author     Mark <zhaody901@126.com>
 * @copyright  Copyright (c) 2013 lemon team
 * @version    $Id: 8a65aae6325e6895425a3ebf13eeb070cdb02b94 $
 * @time       13-12-26 下午4:04
 */
defined('IN_IXDCW') or exit('Access Denied');
header("content-type: application/x-javascript"); //设置头，否则chrome会失败
switch ($action) {
	case 'cartype':
		$cid = isset($cid) ? $cid : 1;
		if($cid){
			Cookie::set('cartype',$cid,'3600');
			exit(true);
		}
		break;
}